/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.proposeproduct.entity.ProposeProductBatch
   Module Description   :

   Date Created      : 2009/11/18
   Original Author   : ellen.li
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.proposeproduct.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.Parameter;

import com.yaodian100.core.common.entity.BaseEntity;

/**
 * @author ellen.li
 * 
 */
@Entity
@Table(name = "EC_PROPOSEPORDUCT_BATCH")
public class ProposeProductBatch extends BaseEntity {

	/**
	 * serial version
	 */
	private static final long serialVersionUID = -1742994332251661186L;

	@Id
	@GeneratedValue(generator = "seq_ec_proposeproductbatch")
	@GenericGenerator(name = "seq_ec_proposeproductbatch", strategy = "com.yaodian100.core.common.dao.hibernate.SeqStringGenerator", parameters = {
			@Parameter(name = "sequence", value = "SEQ_EC_PROPOSEPRODUCTBATCH"),
			@Parameter(name = "pattern", value = "PPB00000000") })
	@Column(name = "PRPS_BATCH_ID", length = 11)
	private String id;

	@Column(name = "FILE_NAME", length = 150)
	private String fileName;

	@Column(name = "File_Create_DATE", nullable = false)
	@Temporal(TemporalType.TIMESTAMP)
	private Date fileCreateDate;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Date getFileCreateDate() {
		return fileCreateDate;
	}

	public void setFileCreateDate(Date fileCreateDate) {
		this.fileCreateDate = fileCreateDate;
	}
}
